<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="description" content="[.$emmm_web.webdescriptions.]"/>
<meta name="keywords" content="[.$emmm_web.webkeywords.]"/>
<meta name="author" content="vidar.club"/>
<meta name="viewport" content="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-title" content="[.$emmm_web.website.]">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="HandheldFriendly" content="true">
<meta name="MobileOptimized" content="320">
<meta name="screen-orientation" content="portrait">
<meta name="x5-orientation" content="portrait">
<meta name="full-screen" content="yes">
<meta name="x5-fullscreen" content="true">
<meta name="browsermode" content="application">
<meta name="x5-page-mode" content="app">
<meta name="msapplication-tap-highlight" content="no">
<title>[.$emmm_web.website.]</title>
[.include file="cn/cn_head.html".]
<script src="[.$webpath.]function/plugs/YIQI-UI/icheck/YIQI-UI-icheck.min.js"></script>
<link href="[.$webpath.]function/plugs/YIQI-UI/icheck/YIQI-UI-icheck.css" rel="stylesheet">
<script>
$(function(){
	$('.skin-minimal input').iCheck({
	checkboxClass: 'icheckbox-blue',
	radioClass: 'iradio-blue',
	increaseArea: '20%'
	});
});
</script>
</head>
<body>
<div id="YIQI-UI">
	<div class="pages">
		[.include file="cn/cn_shoptop.html".]
        <div class="content" style="padding:0 0 160px 0; background:#FFF;">

      [.*订单模板开始*.]
	  <script src="../../function/plugs/layer/layer.min.js"></script>
	  <script> 
		function dialog(title,number){
			$.layer({
				type: 2,
				title: '物流信息',
				shade: [0],
				border: [5, 0.3, '#000'],
				area: ['90%', '340px'],
				iframe:{src: '../../function/api/kuaidi100/index.php?title='+title+'&number='+number}
			});
		};
		</script>
		[.if isset($smarty.get.tag).]
		<script type="text/javascript">$(document).ready(function(){$("#[.$smarty.get.tag.]").addClass("btn btn-primary radius-5 pt-5 pb-5 pl-10 pr-10");});</script>
		[.else.]
		<script type="text/javascript">$(document).ready(function(){$("#qb").addClass("btn btn-primary radius-5 pt-5 pb-5 pl-10 pr-10");});</script>
		[./if.]
        <style type="text/css">
        tr,td { padding:6px;}
        </style>
        <form id="form2" name="form2" method="post" action="[.$webpath.]function/emmm_play.class.php?emmm_shoporders">
          <table class="table table-border table-bg">
           <thead>
            <th>我的订单</th>
			<tr>
				<td colspan="7">
					<a href="?cn-usershopping-op.html" id="qb" class="mr-10">全部订单</a>
					<a href="?cn-usershopping-op.html-&tag=dfk" id="dfk" class="mr-10">待付款</a>
					<a href="?cn-usershopping-op.html-&tag=dfh" id="dfh" class="mr-10">待发货</a>
					<a href="?cn-usershopping-op.html-&tag=dqs" id="dqs" class="mr-10">待签收/评价</a>
				</td>
			</tr>
           </thead>
           <tbody>
            [.foreach $orderslist as $op.]
            <tr>
              <td class="userbuylist">
              <p>
              
              <h3>[.$op.title|truncate:20:"...".]
                  [.if $op.pay == 1.]
                  <span class="f-r">
                      <div class="skin-minimal">
                          <div class="check-box">
                            <input type="checkbox" id="checkbox-[.$op.id.]" name="id[]" value="[.$op.id.]">
                            <label for="checkbox-[.$op.id.]">选择</label>
                          </div>
                      </div>
                  </span>
                  [./if.]
              </h3>
              
              </p>
              <p class="f-12">单号：[.$op.number.]</p>
              <p class="f-12">[.$op.pratt.]&nbsp;[.$op.text.]</p>
              <p class="f-12">价格/数量：[.$op.usermarket.]&nbsp;×&nbsp;[.$op.num.]&nbsp;运费：[.$op.freight.]元</p>
              [.if $op.pay == 1.]
              <p>
				<a href="[.$webpath.]client/wap/?cn-usershopping-op.html-&emmm_cms=del&id=[.$op.id.]&dh=[.$op.number.]&type=wap" class="f-r ml-10"><img src="[.$webpath.]skin/del.gif" border="0" /></a>
              	<a href="[.$webpath.]client/wap/?cn-shoppingorders.html-&id=[.$op.id.]&type=wap" class="f-r"><img src="[.$webpath.]skin/fukuan.gif" border="0" /></a>
              </p>
              [.else.]
              <p class="f-14 text-r">
                  [.if $op.send == 1.]
                  状态：待发货...
                  [.else.]
                  状态：已发货
                  &nbsp;-<a href="javascript:dialog('[.$op.express.]','[.$op.expressnum.]')">【物流信息】</a>
                    [.if $op.sign == 0.]
                        <a href="[.$webpath.]client/wap/?cn-usershopping-op.html-&emmm_cms=sign&id=[.$op.id.]&dh=[.$op.number.]" onclick="javascript:return confirm('确认签收吗?')">-&nbsp;【签收】</a>
                        [.else.]
                        -&nbsp;已签收&nbsp;-&nbsp;<a href="../../function/plugs/Comment/product-content.php?id=[.$op.prid.]&type=productview&row=10" target="_blank">评论</a>
                    [./if.]
                    
                  [./if.]
              </p>
              [./if.]
              
              </td>
            </tr>
            [./foreach.]
            <tr>
              <td>
              	 <input type="hidden" value="wap" name="type">
                 <input type="hidden" value="cn" name="lang">
                 <input type="button" value="未付款商品统一付款" class="f-r btn btn-primary pd-10 mt-20 radius-0" onclick=window.open("[.$webpath.]client/wap/?cn-shoppingorders.html","_self") />
                 <input type="submit" value="合并付款" class="f-r btn btn-warning pd-10 mt-20 radius-0" />
              </td>
            </tr>
           </tbody>
          </table>
          </form>
            <div style=" clear:both; height:20px;"></div>
            [.$emmmpage.]
          [.*订单模板结束*.]
        </div>
    </div>
	[.include file="cn/cn_shopfoot.html".]
</div>
</body>
</html>
